package com.ramblingcoder.bc2.server.tool.update.commands;

public class Parcel {
	//Variables-----\
	private int id;
	private String[] words;
	//Variables-----/
	
	//Constructor-----\
	public Parcel(int id, String[] words) {
		this.id = id;
		this.words = words;
	}
	//Constructor-----/
	
	//Getters-----\
	public int getId() {
		return id;
	}
	
	public String[] getWords() {
		return words;
	}
	
	public String[] getWordsTrimmed() {
		String[] wordTrim = new String[words.length-1];
		
		for (int i = 0; i < wordTrim.length; i++)
			wordTrim[i] = words[i+1];
		
		return wordTrim;
	}
	
	public String getStatus() {
		return words[0];
	}
	//Getters-----/

}
